package com.ttg.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ttg.common.entities.BasePage;
import com.ttg.model.dto.*;
import com.ttg.model.pojo.Admin;
import com.ttg.model.vo.*;

import java.util.List;

/**
 * @author ZQ
 * @version 1.0
 * @Description
 * @date 2021/1/15 17:08
 */
public interface AdminService extends IService<Admin> {


    AdminViewVo view(AdminViewDTO reqDto);

    AdminAdmIdVO delete(AdminDeleteDTO reqDto);

    AdminAdmIdVO password(AdminPwdDTO reqDto);

    RoleStatusVO roleStatus(RoleStatusDTO reqDto);

    RoleIdVO roleAddsave(RoleAddSaveDTO reqDto);

    RoleIdVO roleEditsave(RoleEditsaveDTO reqDto);

    RoleIdVO roleDelete(RoleDeleteDTO reqDto);

    BasePage<RoleListVO> roleList(RoleListDTO reqDto);

    List<RoleAuthVO> roleAuth();

    RoleViewVO roleView(RoleViewDTO reqDto);

    BasePage<AdminIndexVO> index(AdminIndexDTO reqDto);

    List<RoleVO> role();

    AdminAddSaveVO addSave(AdminAddSaveDTO reqDto);

    boolean editSave(AdminEditSaveDTO reqDto);

    ManageAdminLogVO log(ManageAdminLogDTO reqDto);

}
